package com.xinruke.hostels.reservation.user.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 会员详情信息
 *
 * @author Jinz
 * @date 2019-06-30 12:13
 */
@ApiModel("会员详情信息")
@Data
public class MemberDetailQuertResultDTO {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String xingming;

    /**
     * 性别
     */
    @ApiModelProperty(value = "0未知：1男；2女")
    private Byte xingbie;

    @ApiModelProperty(value = "身份证号")
    private String shenfenzhenghao;


    @ApiModelProperty(value = "手机号")
    private String shoujihao;


    @ApiModelProperty(value = "大单位")
    private Byte dadanwei;

    @ApiModelProperty(value = "大单位名称")
    private String dadanweiMingcheng;

    @ApiModelProperty(value = "职级待遇")
    private Byte zhijiedaiyu;

    @ApiModelProperty(value = "职级待遇名称")
    private String zhijidaiyuMingcheng;

    /**
     * 认证状态
     */
    @ApiModelProperty(value = "1认证通过；0未认证")
    private Byte renzhengzhuangtai;

    /**
     * 是否有效
     */
    @ApiModelProperty(value = "1：有效 0：无效2：冻结")
    private Byte zhuangtai;

    @ApiModelProperty(value = "状态名称")
    private String zhuangtaiMingcheng;

    @ApiModelProperty("剩余优惠次数")
    private Integer shengyuyouhuicishu;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;


    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;
}
